//
//  MainViewController.m
//  FunRead
//
//  Created by dllo on 15/6/3.
//  Copyright (c) 2015年 华东伟. All rights reserved.
//

#import "MainViewController.h"

@interface MainViewController ()

@end

@implementation MainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.selectedIndex = 1;
    
    UITabBar *tabBar = self.tabBar;
    
    [tabBar setTintColor:[UIColor blackColor]];
    
    UITabBarItem *tabBarItem1 = [tabBar.items objectAtIndex:0];
    tabBarItem1.image = [[UIImage imageNamed:@"address_book.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    UITabBarItem *tabBarItem2 = [tabBar.items objectAtIndex:1];
    tabBarItem2.image = [[UIImage imageNamed:@"toggle_log.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    UITabBarItem *tabBarItem3 = [tabBar.items objectAtIndex:2];
    tabBarItem3.image = [[UIImage imageNamed:@"set.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
